package com.gmail.at.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.gmail.at.model.Train;

public interface TrainService {
	public List<Train> findAll();
	public Train findById(Integer id);
	public Train save(Train train);
	public String delete(Integer id);
	public Page<Train> findAllByPage(Pageable pageable);
}
